<h1>Listing events_submitters (as "<%=@user_name%>")</h1>

<table border=1>
  <tr>
    <th>Submitter</th>
    <th>Event</th>
    <th>Accepted</th>
    <th>Rejected</th>
  </tr>

<% for events_submitter in @events_submitter %>
  <tr>
    <td><%= link_to events_submitter.submitter.name, events_submitter.submitter %></td>
    <td><%= link_to events_submitter.event.name, events_submitter.event %></td>
    <%= render :partial => "accepted_rejected", :object => events_submitter %>
    <td><%= link_to 'Show', events_submitter %></td>
    <td><%= link_to 'Edit', edit_events_submitter_path(events_submitter) %></td>
    <td><%= link_to 'Destroy', events_submitter, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New event', new_events_submitter_path %>
<%= link_to 'Review all events', :action => :review %>
<%= link_to "Review #{@user_name} events", :action => "review", :user_id => @user.id %>

<!-- vi:ts=2:et:sw=2:
-->
